package com.gongzhiyun.springboot3test.vo;

import com.gongzhiyun.springboot3test.validate.CommonValidate;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class ParamsQueryMessage implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "标题不能为空",groups = {CommonValidate.add.class})
    private String title;
    @NotBlank(message = "内容不能为空",groups = {CommonValidate.add.class})
    private String info;
}
